package cn.pfz.Service;

import cn.pfz.domain.Business;
import cn.pfz.domain.Department;
import cn.pfz.query.Businessquery;
import cn.pfz.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IBusinessService {

    int deleteByPrimaryKey(Long id);

    int insert(Business record);

    Business selectByPrimaryKey(Long id);

    List<Business> selectAll();

    int updateByPrimaryKey(Business record);

    PageInfo<Business> list(Businessquery qo);

    List<Business> selectByMainStore(int i);
}
